package com.wjy.设计模式.单例模式;

public class SinglePatternDemo {
    public static void main(String[] args) {
        //获取唯一可用的对象
        SingleObject object = SingleObject.getInstance();
        object.showMessage();
    }
}
